全局变量(){
    RED='\033[1;31m'
    GREEN='\033[0;32m'  # 修改为浅绿色
    YELLOW='\033[1;33m' # 修改为黄色
    BLUE='\033[1;34m'
    CYAN='\033[1;36m'
    NC='\033[0m'

    is_KC_KPM="KC or KPM"

    is_local_cloud="云端or本地"

    is_BG_PUBG="和平精英 or PUBG Mobile"

    Save="保存函数变量"

    current_menu="主菜单" # Current interface
    # 保存or加载函数变量
    Config_file=""
    Config_file_Save=""
    recoil_file=""
    recoil_file_Save=""
    
    base_url="https://gitee.com/BOT_141_2580/sync_flow/raw/master/"
    folder_name="配置"

    URL="$folder_name"
    编码URL
    encoded_folder="$encoded"
}

residual=(
    "/storage/emulated/0/Music"
    "/storage/emulated/0/AndroLua"
    "/storage/emulated/0/Movies"
    "/storage/emulated/0/LenovoReaper"
    "/storage/emulated/0/.safecenterTrash"
    "/storage/emulated/0/.LeSync_cache"
    "/data/BingPUBG/guns.cfg"
    "/data/BingHPJY/pz.cfg"
    "/dev/Bing"
    "/data/单发枪配置.txt"
    "/data/local/tmp/单发枪配置.txt"
    "/data/A内核.ini"
    "/data/物资.txt"
    "/data/HPX"
    "/data/HPY"
    "/data/system/HPX"
    "/data/system/HPY"
    "/storage/emulated/0/落叶配置"
    "/storage/emulated/0/BY物资"
    "/data/nh2"
    "/data/nh3"
    "/data/nh4"
    "/data/nh5"
    "/data/nh.ko"
    "/data/jz"
    "/data/jz.sh"
    "/data/system/1iboxmem.so"
    "/data/system/liborangeinit.so"
    "/data/system/xydriver.ko"
    "/storage/emulated/0/*.bak"
    "/storage/emulated/0/Android/media"
    "/storage/emulated/0/Android/obb/.nomedia"
    "/data/per_boot"
    "/data/server_configurable_flags"
    "/data/apk-tmp"
    "/data/dpm"
    "/data/bootanim"
    "/data/rollback-history"
    "/data/rollback"
    "/data/incremental"
    "/data/ss"
    "/data/ota_package"
    "/data/ota"
    "/data/mediadrm"
    "/data/preloads"
    "/data/fonts"
    "/data/app-private"
    "/data/app-lib"
    "/data/app-ephemeral"
    "/data/app-asec"
    "/data/app-staging"
    "/data/miui"
    "/data/anr"
    "/data/bootchart"
    "/data/rollback-observer"

)